package assignment.jaxb;

/**
 * @author $Author:$
 * @version $Id: $
 */
public class CardDetails {
	private String noiseLevel;
	private String framebuffer;
	private String memoryType;
	private String memoryBusType;
	private String directXCompliance;
	private String openGLCompliance;
	private String psvsVersion;
	private String process;
	private String fragmentPipelines;
	private String vertexPipelines;
	private String textureUnits;
	private String rasterOperators;
	
	private double gpuRatingOverall;
	private double gpuRatingPerformance;
	private double gpuRatingPrice;
	private double gpuRatingFeatures;
	private double gpuRatingOverclockability;
	private double gpuRatingSilence;
	private int gpuRatingOverallVotes;
	private int gpuRatingPerformanceVotes;
	private int gpuRatingPriceVotes;
	private int gpuRatingFeaturesVotes;
	private int gpuRatingOverclockabilityVotes;	
	private int gpuRatingSilenceVotes;
	
	public String toString(){
		return new StringBuffer()
			.append("**********************************")
			.append("\n***** Card details")
			.append("\n**********************************")
			.append("\n***** noiseLevel: " + this.noiseLevel)
			.append("\n***** framebuffer: " + this.framebuffer)
			.append("\n***** memoryType: " + this.memoryType)
			.append("\n***** memoryBusType: " + this.memoryBusType)
			.append("\n***** directXCompliance: " + this.directXCompliance)
			.append("\n***** openGLCompliance: " + this.openGLCompliance)
			.append("\n***** psvsVersion: " + this.psvsVersion)
			.append("\n***** process: " + this.process)
			.append("\n***** fragmentPipelines: " + this.fragmentPipelines)
			.append("\n***** vertexPipelines: " + this.vertexPipelines)
			.append("\n***** textureUnits: " + this.textureUnits)
			.append("\n***** rasterOperators: " + this.rasterOperators)
			.append("\n***** GPU Rating Overall: " + this.gpuRatingOverall + " (" + this.gpuRatingOverallVotes + " votes)")
			.append("\n***** GPU Rating Performance: " + this.gpuRatingPerformance + " (" + this.gpuRatingPerformanceVotes + " votes)")
			.append("\n***** GPU Rating Price: " + this.gpuRatingPrice + " (" + this.gpuRatingPriceVotes + " votes)")
			.append("\n***** GPU Rating Features: " + this.gpuRatingFeatures + " (" + this.gpuRatingFeaturesVotes + " votes)")
			.append("\n***** GPU Rating Overclockability: " + this.gpuRatingOverclockability + " (" + this.gpuRatingOverclockabilityVotes + " votes)")
			.append("\n***** GPU Rating Silence: " + this.gpuRatingSilence + " (" + this.gpuRatingSilenceVotes + " votes)")
		.append("\n").toString();
	}
	
	// Getters and setters
	public String getNoiseLevel() {
		return noiseLevel;
	}
	
	public void setNoiseLevel(String noiseLevel) {
		this.noiseLevel = noiseLevel;
	}
	
	public String getFramebuffer() {
		return framebuffer;
	}
	
	public void setFramebuffer(String framebuffer) {
		this.framebuffer = framebuffer;
	}
	
	public String getMemoryType() {
		return memoryType;
	}
	
	public void setMemoryType(String memoryType) {
		this.memoryType = memoryType;
	}
	
	public String getMemoryBusType() {
		return memoryBusType;
	}
	
	public void setMemoryBusType(String memoryBusType) {
		this.memoryBusType = memoryBusType;
	}
	
	public String getDirectXCompliance() {
		return directXCompliance;
	}
	
	public void setDirectXCompliance(String directXCompliance) {
		this.directXCompliance = directXCompliance;
	}
	
	public String getOpenGLCompliance() {
		return openGLCompliance;
	}
	
	public void setOpenGLCompliance(String openGLCompliance) {
		this.openGLCompliance = openGLCompliance;
	}
	
	public String getPsvsVersion() {
		return psvsVersion;
	}
	
	public void setPsvsVersion(String psvsVersion) {
		this.psvsVersion = psvsVersion;
	}
	
	public String getProcess() {
		return process;
	}
	
	public void setProcess(String process) {
		this.process = process;
	}
	
	public String getFragmentPipelines() {
		return fragmentPipelines;
	}
	
	public void setFragmentPipelines(String fragmentPipelines) {
		this.fragmentPipelines = fragmentPipelines;
	}
	
	public String getVertexPipelines() {
		return vertexPipelines;
	}
	
	public void setVertexPipelines(String vertexPipelines) {
		this.vertexPipelines = vertexPipelines;
	}
	
	public String getTextureUnits() {
		return textureUnits;
	}
	
	public void setTextureUnits(String textureUnits) {
		this.textureUnits = textureUnits;
	}
	
	public String getRasterOperators() {
		return rasterOperators;
	}
	
	public void setRasterOperators(String rasterOperators) {
		this.rasterOperators = rasterOperators;
	}

	public double getGpuRatingOverall() {
		return gpuRatingOverall;
	}

	public void setGpuRatingOverall(double gpuRatingOverall) {
		this.gpuRatingOverall = gpuRatingOverall;
	}

	public double getGpuRatingPerformance() {
		return gpuRatingPerformance;
	}

	public void setGpuRatingPerformance(double gpuRatingPerformance) {
		this.gpuRatingPerformance = gpuRatingPerformance;
	}

	public double getGpuRatingPrice() {
		return gpuRatingPrice;
	}

	public void setGpuRatingPrice(double gpuRatingPrice) {
		this.gpuRatingPrice = gpuRatingPrice;
	}

	public double getGpuRatingFeatures() {
		return gpuRatingFeatures;
	}

	public void setGpuRatingFeatures(double gpuRatingFeatures) {
		this.gpuRatingFeatures = gpuRatingFeatures;
	}

	public double getGpuRatingOverclockability() {
		return gpuRatingOverclockability;
	}

	public void setGpuRatingOverclockability(double gpuRatingOverclockability) {
		this.gpuRatingOverclockability = gpuRatingOverclockability;
	}

	public double getGpuRatingSilence() {
		return gpuRatingSilence;
	}

	public void setGpuRatingSilence(double gpuRatingSilence) {
		this.gpuRatingSilence = gpuRatingSilence;
	}

	public int getGpuRatingOverallVotes() {
		return gpuRatingOverallVotes;
	}

	public void setGpuRatingOverallVotes(int gpuRatingOverallVotes) {
		this.gpuRatingOverallVotes = gpuRatingOverallVotes;
	}

	public int getGpuRatingPerformanceVotes() {
		return gpuRatingPerformanceVotes;
	}

	public void setGpuRatingPerformanceVotes(int gpuRatingPerformanceVotes) {
		this.gpuRatingPerformanceVotes = gpuRatingPerformanceVotes;
	}

	public int getGpuRatingPriceVotes() {
		return gpuRatingPriceVotes;
	}

	public void setGpuRatingPriceVotes(int gpuRatingPriceVotes) {
		this.gpuRatingPriceVotes = gpuRatingPriceVotes;
	}

	public int getGpuRatingFeaturesVotes() {
		return gpuRatingFeaturesVotes;
	}

	public void setGpuRatingFeaturesVotes(int gpuRatingFeaturesVotes) {
		this.gpuRatingFeaturesVotes = gpuRatingFeaturesVotes;
	}

	public int getGpuRatingOverclockabilityVotes() {
		return gpuRatingOverclockabilityVotes;
	}

	public void setGpuRatingOverclockabilityVotes(int gpuRatingOverclockabilityVotes) {
		this.gpuRatingOverclockabilityVotes = gpuRatingOverclockabilityVotes;
	}

	public int getGpuRatingSilenceVotes() {
		return gpuRatingSilenceVotes;
	}

	public void setGpuRatingSilenceVotes(int gpuRatingSilenceVotes) {
		this.gpuRatingSilenceVotes = gpuRatingSilenceVotes;
	}
}
